
<div class="subtitle"><%= link_to "&laquo; Back", {:controller => "pages"}, :class=>"left"%> COMPAGES - LISTING PAGES </div>

<table><tbody><tr>
<td class="left_column column rborder">
<h2>Pages archive</h2>
<p><span id="site_name_edit" title="click to edit">Global site name:</span> <%= in_place_editor_field :global_settings, :value,{}, :external_control=>"site_name_edit" %></p>
<p><%= link_to_remote "Add a page &raquo;", :url=>{:action=>"create"}%><% if @pages.empty? %> &nbsp;<em id="clickhere">&#8592; click here</em><% end %>
<% unless @pages.empty? %>
  <ol id="pages_listed">
    <% for page in @pages %>
      <% @page = page %>
      <%= render :partial => "page_listed" %>
    <% end %>
  </ol>
<% else %>
  <ol id="pages_listed"></ol>
  <p id="blank_slate" style="color:gray;">Currently there are no pages!<!-- Start creating the &#64257;rst one by clicking on 
  <em>&ldquo;add a page&rdquo;</em>.--></p>
  <%=javascript_tag visual_effect :pulsate, :clickhere %>
<% end %>
</p>

</td>

<td class="right_column column">
<h2> Pages Help<i>!</i> </h2>
<p>Here are listed all the pages of the site, you can <em>edit the title by clicking
 on it</em>.</p>
<p>To add a page to your site <em>click on &ldquo;add a page&rdquo;</em>.</p>
<p>To wipe out a page you can <em>click on &ldquo;delete&rdquo;</em>.</p>

<h2>Editing...</h2>
<p>To &#64257;ll up a page with contents or review contets and layout of a page 
<em>click on &ldquo;edit&rdquo;</em>.</p>
<p>By clicking on <em>edit</em> you'll be able to:
<ul>
  <li>add, and/or remove contents from your page</li>
  <li>change the position of the contents within the page</li>
  <li>chose the theme of your page</li>
</ul>

</td>
</tr></tbody></table>